package com.cskaoyan.bean.vo.back;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @auther 10-何兴绕
 * @Date 2022年10月13日 14:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShowCatAndBrandVO {

    private List<CategoryListEntity> categoryList;
    private List<BrandListEntity> brandList;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class CategoryListEntity {

        private int value;
        private String label;
        private List<ChildrenEntity> children;


        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class ChildrenEntity {

            private int value;
            private String label;

        }
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class BrandListEntity {

        private int value;
        private String label;
    }
}
